all: test

test: test.cc Omega.o Variable.o Outcome.o Preference.o PreferenceSet.o Constraint.o functions.o
	g++ -o test test.cc Omega.o Variable.o Outcome.o Preference.o PreferenceSet.o Constraint.o functions.o

Omega.o: Omega.cc
	g++ -c Omega.cc

Variable.o: Variable.cc
	g++ -c Variable.cc

Outcome.o: Outcome.cc
	g++ -c Outcome.cc

Preference.o: Preference.cc
	g++ -c Preference.cc

PreferenceSet.o: PreferenceSet.cc
	g++ -c PreferenceSet.cc

Constraint.o: Constraint.cc
	g++ -c Constraint.cc

functions.o: functions.cc
	g++ -c functions.cc